package tralalaClient;

import java.rmi.RemoteException;
import java.util.List;



import tralalaServer.Song;

public class TralalaControler {

	private RMIServiceLocator rsl;
	
	public TralalaControler(String[] args) throws RemoteException {

		rsl = new RMIServiceLocator();
		rsl.setService(args);
		GUI gui = new GUI();
	
	
	}
	
	
	public List<Song> getSongs(){
		List<Song> lista=null;
		lista= rsl.getService().getSongs();
		return lista;
		
}

	public void newSong(/**/) throws RemoteException
	{
		
    }
        
    public void exit(){
    	System.exit(0);
    }
    
    public static void main(String[] args)  throws RemoteException {
      }
}
